package com.lj.mcore.service;

import com.lj.mcore.entity.GoodsCart;
import com.lj.mcore.utils.PageBean;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface IGoodsCartService {

    public abstract boolean save(GoodsCart obj);

    public abstract boolean saveWithStoreCart(GoodsCart obj);

    public abstract boolean delete(Long id);

    public abstract boolean update(GoodsCart obj);

    public abstract boolean UpdateWithStoreCart(GoodsCart obj);

    public abstract GoodsCart getObjById(Long id);

    public abstract GoodsCart getSingleResult(Map<String,Object> map);

    public abstract List<GoodsCart> query(String paramString, Map paramMap, int paramInt1, int paramInt2);

    public PageBean getList(int pageSize, int page, Map<String, String> query);

    public GoodsCart goodsIsExistInCard(long gid,long uid,Long gsid);
}
